<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>

    </style>
    <script src="vue.js"></script>
</head>
<body>
    <div id="box">
        <img :src="url" :width="w" :title="t"><br>
        <input :type="type" :disabled="disabled">
    </div>
</body>
<script>
    new Vue({
        el:'#box',
        data:{
            url:'baidu.png',
            w:'400px',
            t:'这是一张美丽的图片',
            type:'text',
            disabled: false
        }
    });
</script>
</html>



















